export default function transform(data) {
  const temp = JSON.parse(JSON.stringify(data));
  for (const key in temp) {
    if (temp[key] === "") {
      delete temp[key];
    }
  }

  return temp;
}
